package cn.jiyun.ai.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("users")
public class Users {

    private static final long serialVersionUID = 1L;

    @TableId(type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private Integer id;

    // 手机号
    @TableField
    private String phone;

    // 验证码
    @TableField
    private String code;

    // 用户名
    @TableField
    private String username;

    // 密码
    @TableField
    private String password;

    // 确认密码
    @TableField
    private String password2;

    @TableField
    private Integer job;
}
